package com.newcoder.community;

import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;

@SpringBootApplication//指示该类为配置类
public class CommunityApplication {

	public static void main(String[] args) {

		SpringApplication.run(CommunityApplication.class, args);
		//底层启动tomcat，自动创建spring容器，容器创建后会自动扫描某些包下的bean
	}

}
